//获取应用实例
const app = getApp();
Page({
	data:{
		
	},	
	onLoad:function(){

	},
	formSubmit: function(e) {	
		if(!e.detail.value.password){
			wx.showToast({
				title:'请输入会员卡号',
				icon:'none'
			})
			return false;
		}
		app.request('/api/Simple/unBindMember', {vipcode:e.detail.value.password}, function(res){
			wx.showToast({
				title:res.msg,
				icon:'none'
			})
		});
	},
	formReset:function(){
		
	}
})